package com.infoland.afanmall.base.dialog;

import android.content.Context;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.infoland.afanmall.R;
import com.infoland.afanmall.base.util.ToolsKit;
import com.vondear.rxtools.view.dialog.RxDialog;

/**
 *
 */
public class OpenIsOk_1_Dialog extends RxDialog {
    private LinearLayout back;
    private TextView textView;

    public OpenIsOk_1_Dialog(Context context) {
        super(context);
        initView();
    }

    private void initView() {
        View dialogView = ToolsKit.getView(R.layout.open_jie_suan);
        setContentView(dialogView);
    }

    public void setContent(String content) {
        textView.setText("" + content);
    }


    public OpenIsOk_1_Dialog(Context context, int themeResId) {
        super(context, themeResId);
        initView();
    }

    public OpenIsOk_1_Dialog(Context context, boolean cancelable, OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
        initView();

    }


    public OpenIsOk_1_Dialog(Context context, float alpha, int gravity) {
        super(context, alpha, gravity);
        initView();

    }

    public LinearLayout getBack() {
        return back;
    }
}
